package com.fastloan.mgt.product.question.service.impl;

import com.fastloan.common.BasicServiceImpl;
import com.fastloan.mgt.product.question.dao.ProductQuestionOptionMapper;
import com.fastloan.mgt.product.question.service.ProductQuestionOptionService;
import com.fastloan.mgt.product.question.model.ProductQuestionOption;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admins
 *         createTime 2017/12/27
 */
@Service
public class ProductQuestionOptionServiceImpl extends BasicServiceImpl<ProductQuestionOption> implements ProductQuestionOptionService {
    @Autowired
    private ProductQuestionOptionMapper productQuestionOptionMapper;

    @Override
    public List<ProductQuestionOption> queryOptionByQuestionId(String questionId) {
        return productQuestionOptionMapper.queryOptionByQuestionId(questionId);
    }
}
